package com.mdd.admin.service.jiaz;

import com.mdd.admin.validate.commons.PageValidate;
import com.mdd.common.core.PageResult;
import com.mdd.common.validate.engineer.EngineerApplyAuditValidate;
import com.mdd.common.validate.engineer.EngineerApplySearchValidate;
import com.mdd.common.vo.engineer.EngineerApplyAdDetailVo;
import com.mdd.common.vo.engineer.EngineerApplyListedVo;

/**
 * 技师申请接口类
 */
public interface IEngineerApplyService {


    /**
     * 申请列表
     *
     * @param pageValidate   PageValidate
     * @param searchValidate EngineerApplySearchValidate
     * @return PageResult<EngineerApplyListedVo>
     * @author mjf
     */
    PageResult<EngineerApplyListedVo> list(PageValidate pageValidate, EngineerApplySearchValidate searchValidate);

    /**
     * 申请详情
     *
     * @param id Integer
     * @return EngineerApplyAdDetailVo
     * @author mjf
     */
    EngineerApplyAdDetailVo detail(Integer id);

    /**
     * 审核申请
     *
     * @param auditValidate EngineerApplyAuditValidate
     * @author mjf
     */
    void audit(EngineerApplyAuditValidate auditValidate);
}
